﻿ 
@model LERP.Web.Controllers.ViewModels.BugViewModels.BugRemarkViewModel
@{
    ViewBag.Title = "问题备注";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>基本信息 </legend>
        <ul class="list_form">
        
            <li>
                @Html.LabelFor(model => model.Name)   
                @Model.Name 
            </li> 
            <li>
                @Html.LabelFor(model => model.Title)   
                @Model.Title 
            </li> 
            <li> @Html.LabelFor(model => model.Content)   
                @Model.Content 

            </li>
            <li> @Html.LabelFor(model => model.Remarks)   
                @if (!string.IsNullOrEmpty(Model.Remarks))
                {
                    <table style="display: inline-block;">
                    @foreach (var item in Model.Remarks.Split(new[] {"<分隔符>"}, 1000, StringSplitOptions.RemoveEmptyEntries))
                    {
                        <tr>
                            <td>   @item </td>
                        </tr>
                     
                    }

                    </table>
                }
                  
            </li>
               <li> @Html.LabelFor(model => model.Remark)   
                @Html.TextAreaFor(model => model.Remark, new {rows="1" ,cols="1"}) 
                @Html.ValidationMessageFor(model => model.Remark)</li>
        </ul>
    </fieldset>
    
    <input type="submit" class="button-submit" value="保存" />
  
    <br />
    <br />
    <br />
}

